[index]

PlayRate Property

Syntax

set the playRate of <movie> to <integer> Applies to movies

Description

The playRate property is a non-negative number that indicates the speed at which a movie is played. Setting a movie's playRate does not initiate playback; it controls the speed of playback once playback has been initiated with the play command. A playRate of 1 means the movie is playing forward at normal speed, while a playRate of 0 indicates a movie that is stopped. Setting the playRate to 2 or more increases the rate at which the movie is played (just like fast forwarding or rewinding it, as illustrated in the example below).

Notes

Examples

on mouseUp set the playMuted of movie 1 to true set the playDirection of movie 1 to backward set the playRate of movie 1 to 2 end mouseUp Add the following handler to the "Fast-Forward" button's script: on mouseUp set the playMuted of movie 1 to true set the playDirection of movie 1 to forward set the playRate of movie 1 to 2 end mouseUp
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.